//
//  IGGetGoodsApi.m
//  jingdongfang
//
//  Created by MTiMac02 on 2018/1/22.
//  Copyright © 2018年 LJL. All rights reserved.
//

#import "IGGetGoodsApi.h"

@implementation IGGetGoodsApi
-(id)initWithStatus:(NSString *)status PageSize:(NSString *)pageSize PageNum:(NSString *)pageNum{
    self=[super init];
    if (self) {
        _status=status;
        _pageSize=pageSize;
        _pageNum=pageNum;
    }
    return self;
}

-(NSString *)requestUrl{
      return @"goods/getGoodsByStatus";
}

-(id)requestArgument{
    return @{
             @"status":_status?:@"",
             @"pageSize": _pageSize,
             @"pageNum": _pageNum
             };
}
@end
@implementation IGGetGoodsModel
+ (BOOL)propertyIsOptional:(NSString *)propertyName {
    if ([propertyName isEqualToString:@"IGMyGoods"] ) {
        return YES;
    }
    return NO;
}
@end
@implementation IGGetGoodsResp

@end
